Optimal. Leaf size=112 \[ \frac{2 (a+b x) \sqrt{d+e x}}{b \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{2 (a+b x) \sqrt{b d-a e} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{b^{3/2} \sqrt{a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0532999, antiderivative size = 112, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {646, 50, 63, 208} \[ \frac{2 (a+b x) \sqrt{d+e x}}{b \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{2 (a+b x) \sqrt{b d-a e} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{b^{3/2} \sqrt{a^2+2 a b x+b^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 646
Rule 50
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{d+e x}}{\sqrt{a^2+2 a b x+b^2 x^2}} \, dx &=\frac{\left (a b+b^2 x\right ) \int \frac{\sqrt{d+e x}}{a b+b^2 x} \, dx}{\sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{2 (a+b x) \sqrt{d+e x}}{b \sqrt{a^2+2 a b x+b^2 x^2}}+\frac{\left (\left (b^2 d-a b e\right ) \left (a b+b^2 x\right )\right ) \int \frac{1}{\left (a b+b^2 x\right ) \sqrt{d+e x}} \, dx}{b^2 \sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{2 (a+b x) \sqrt{d+e x}}{b \sqrt{a^2+2 a b x+b^2 x^2}}+\frac{\left (2 \left (b^2 d-a b e\right ) \left (a b+b^2 x\right )\right ) \operatorname{Subst}\left (\int \frac{1}{a b-\frac{b^2 d}{e}+\frac{b^2 x^2}{e}} \, dx,x,\sqrt{d+e x}\right )}{b^2 e \sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{2 (a+b x) \sqrt{d+e x}}{b \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{2 \sqrt{b d-a e} (a+b x) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{b^{3/2} \sqrt{a^2+2 a b x+b^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.0209021, size = 81, normalized size = 0.72 \[ \frac{2 (a+b x) \left (\sqrt{b} \sqrt{d+e x}-\sqrt{b d-a e} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )\right )}{b^{3/2} \sqrt{(a+b x)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.23, size = 104, normalized size = 0.9 \begin{align*} 2\,{\frac{bx+a}{\sqrt{ \left ( bx+a \right ) ^{2}}b\sqrt{ \left ( ae-bd \right ) b}} \left ( -\arctan \left ({\frac{b\sqrt{ex+d}}{\sqrt{ \left ( ae-bd \right ) b}}} \right ) ae+\arctan \left ({\frac{b\sqrt{ex+d}}{\sqrt{ \left ( ae-bd \right ) b}}} \right ) bd+\sqrt{ex+d}\sqrt{ \left ( ae-bd \right ) b} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e x + d}}{\sqrt{{\left (b x + a\right )}^{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.65198, size = 306, normalized size = 2.73 \begin{align*} \left [\frac{\sqrt{\frac{b d - a e}{b}} \log \left (\frac{b e x + 2 \, b d - a e - 2 \, \sqrt{e x + d} b \sqrt{\frac{b d - a e}{b}}}{b x + a}\right ) + 2 \, \sqrt{e x + d}}{b}, -\frac{2 \,{\left (\sqrt{-\frac{b d - a e}{b}} \arctan \left (-\frac{\sqrt{e x + d} b \sqrt{-\frac{b d - a e}{b}}}{b d - a e}\right ) - \sqrt{e x + d}\right )}}{b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 9.13563, size = 95, normalized size = 0.85 \begin{align*} \sqrt{- \frac{a e}{b^{3}} + \frac{d}{b^{2}}} \log{\left (- b \sqrt{- \frac{a e}{b^{3}} + \frac{d}{b^{2}}} + \sqrt{d + e x} \right )} - \sqrt{- \frac{a e}{b^{3}} + \frac{d}{b^{2}}} \log{\left (b \sqrt{- \frac{a e}{b^{3}} + \frac{d}{b^{2}}} + \sqrt{d + e x} \right )} + \frac{2 \sqrt{d + e x}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14444, size = 99, normalized size = 0.88 \begin{align*} 2 \,{\left (\frac{{\left (b d - a e\right )} \arctan \left (\frac{\sqrt{x e + d} b}{\sqrt{-b^{2} d + a b e}}\right )}{\sqrt{-b^{2} d + a b e} b} + \frac{\sqrt{x e + d}}{b}\right )} \mathrm{sgn}\left (b x + a\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]